﻿<navigation:Page x:Class="SoftwareLogistics.SharepointClient.Silverlight.Home" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"
    Title="Home"
    Style="{StaticResource PageStyle}">

    <Grid x:Name="LayoutRoot" Background="Black">
        <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}">

            <StackPanel x:Name="ContentStackPanel">

                <TextBlock x:Name="HeaderText" Style="{StaticResource HeaderTextStyle}"  Foreground="{StaticResource ForegroundBrush}" Text="Login"/>

                <Image Source="/Images/sllogo.png" />
                
                <Grid Width="360">                    
                    <Grid.RowDefinitions>
                        <RowDefinition Height="50" />
                        <RowDefinition Height="50" />
                        <RowDefinition Height="50" />
                        <RowDefinition Height="60" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="120" />
                        <ColumnDefinition Width="240" />
                    </Grid.ColumnDefinitions>
                    <TextBlock Text="user name:" Style="{StaticResource LoginFormLabel}"/>
                    <TextBlock Text="password:" Grid.Row="1" Style="{StaticResource LoginFormLabel}" />
                    <TextBlock Text="save password:" Grid.Row="2" Style="{StaticResource LoginFormLabel}" />
                    <TextBox x:Name="UserName" Grid.Row="0" Grid.Column="1" Margin="12" Text="" />                    
                    <PasswordBox x:Name="Password" Grid.Row="1" Grid.Column="1" Margin="12" Password=""/>
                    <CheckBox x:Name="SavePassword" Grid.Row="2" Grid.Column="1" Margin="12,12" />
                    <Button x:Name="Login" Content="Login" Click="Login_Click" Grid.Row="3" Grid.Column="2" Margin="8" Style="{StaticResource FormButton}" />
                    <Border Style="{StaticResource FormBorder}" Grid.RowSpan="3" Grid.ColumnSpan="3" />
                </Grid>

                
            </StackPanel>

        </ScrollViewer>
    </Grid>

</navigation:Page>